package com.qm.chp09extend;

/**
 * @program: java_se
 * @description: 送的类
 * @author: wangbo
 * @create: 2023-09-20 19:40
 **/
public class Son extends Father{

    int x = 10;
    public Son(){
        this.print();
        this.x = 20;
    }
    public void  print(){
        System.out.println("Son.x-->"+this.x);
    }
}
